<div ng-if="pagedata.showfapiao" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
		<i class="closed icon icon-cuowu" ng-click="pagedata.showfapiao=false"></i>
			<div class="fui-cell-group" style="padding-bottom:2.5rem">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">发票</div>
				</div>
				<div class="fui-cell noborder" style="">
					<div class="fui-cell-label bold" style="width:100px;font-size:0.6rem">发票类型</div>
				</div>
				<div class="fui-cell" style="margin-top:-10px">
					<div class="tag">
						<div style="width:100%">
							<span ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.invoicetype !=2}" style="margin-right:10px;" ng-click="pagedata.post.invoicetype=1">电子普通发票</span><span ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.invoicetype==2}" style="margin-right:10px;" ng-click="pagedata.post.invoicetype=2">增值税专用发票</span>
						</div>
						<div class="fui-cell-help">电子普通发票与纸质普通发票具备同等法律效力，可支持报销入账。</div>
					</div>
				</div>
				<div class="fui-cell noborder" style="">
					<div class="fui-cell-label bold" style="width:100px;font-size:0.6rem">发票抬头</div>
				</div>
				<div class="fui-cell" style="margin-top:-10px">
						<div style="width:100%">
							<span ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.fapiaotype2 !=2}" style="margin-right:10px;" ng-click="pagedata.post.fapiaotype2=1;pagedata.post.invoicename=pagedata.post.address.name">A人</span><span ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.fapiaotype2==2}" style="margin-right:10px;" ng-click="pagedata.post.fapiaotype2=2">单位</span>
						</div>
				</div>
				<div class="fui-cell sm-cell">
					<div class="fui-cell-label" style="width:auto;">抬头</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写抬头，姓名" class="fui-input" ng-model="pagedata.post.invoicename"/>
					</div>			
				</div>
				<div class="fui-cell sm-cell" ng-if="pagedata.post.fapiaotype2 ==2" >
					<div class="fui-cell-label" style="width:auto;">税号</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写税号" class="fui-input" ng-model="pagedata.post.invoicecode"/>
					</div>		
				</div>
				<div class="fui-cell sm-cell" ng-if="pagedata.post.fapiaotype2 ==2">
					<div class="fui-cell-label" style="width:auto;">开户行</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写开户行" class="fui-input" ng-model="pagedata.post.bank"/>
					</div>			
				</div>
				<div class="fui-cell sm-cell" ng-if="pagedata.post.fapiaotype2 ==2">
					<div class="fui-cell-label" style="width:auto;">银行账号</div>
					<div class="fui-cell-info">
						<input type="text" placeholder="填写银行账号" class="fui-input" ng-model="pagedata.post.bankcode"/>
					</div>			
				</div>
				<div class="fui-cell noborder" style="">
					<div class="fui-cell-label bold" style="width:100px;font-size:0.6rem">收票人信息</div>
				</div>
				<div class="fui-cell sm-cell">
					<div class="fui-cell-label" style="width:80px;">收票人名称</div>
					<div class="fui-cell-info">{{pagedata.post.address.name}}</div>				
				</div>
				<div class="fui-cell sm-cell">
					<div class="fui-cell-label" style="width:80px;">收票人Mobile</div>
					<div class="fui-cell-info">{{pagedata.post.address.mobile}}</div>				
				</div>
				<div class="fui-cell sm-cell">
					<div class="fui-cell-label " style="width:80px;">收票人邮箱</div>
					<div class="fui-cell-info"><input type="text" placeholder="用来接收电子发票邮箱，可选填" class="fui-input" ng-model="pagedata.post.email"/></div>
				</div>
				<div class="fui-cell noborder">
					<div class="fui-cell-label bold" style="width:80px;">收票人内容</div>
					<div class="fui-cell-info">发票内容选项已根据税法调整，具体请以展示为准</div>
				</div>
				<div class="fui-cell sm-cell">
					<div class="tag">
						<div style="width:100%">
							<span ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.invoicegoodstype !=2}" style="margin-right:10px;" ng-click="pagedata.post.invoicegoodstype=1">Goods明细</span><span ng-class="{'fui-tag fuilabel fuilabel-red-0 sale-tip':1,'active':pagedata.post.invoicegoodstype==2}" style="margin-right:10px;" ng-click="pagedata.post.invoicegoodstype=2">Goods类别</span>
						</div>
						<div class="fui-cell-help" ng-if="pagedata.post.invoicegoodstype !=2">发票内容将显示详细Goods名称与价格信息</div>
						<div class="fui-cell-help" ng-if="pagedata.post.invoicegoodstype ==2">发票内容将显示本Goods所属类别及价格Details</div>
					</div>
				</div>
			</div>
			<div class="fui-navbar" style="padding:0.35rem 1rem">
				<a href="javascript:;" ng-click="pagedata.showfapiao=false" class="btn btn-danger btn-banf" style="margin:0;width:100%">Determine</a>
			</div>
		</div>
	</div>
</div>